package NGUYENDUCVIET;

public class CalculatorModel_Ex2 {

		public double tong(Calculator_Ex2 objC){
			return objC.getA()+objC.getB();
		}
		
		public double hieu(Calculator_Ex2 objC){
			return objC.getA()-objC.getB();
		}
		
		public double tich(Calculator_Ex2 objC){
			return objC.getA()*objC.getB();
		}
		
		public double thuong(Calculator_Ex2 objC){
			return objC.getA()/objC.getB();
		}
}


